package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author DengHao
 * @since 2021-10-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
// @ApiModel(value="TemplateFood对象", description="")
public class TemplateFood implements Serializable {

    private static final long serialVersionUID=1L;

    // @ApiModelProperty(value = " 膳食库表ID")
    @TableId(value = "temp_food_id", type = IdType.AUTO)
    private Integer tempFoodId;

    // @ApiModelProperty(value = "食物名称")
    private String tempFoodName;

    // @ApiModelProperty(value = "食物类型")
    private String tempFoodType;

    // @ApiModelProperty(value = "食物100g含的能量")
    private String tempFoodHeat;

    // @ApiModelProperty(value = "100g含的蛋白质")
    private String tempFoodProtein;

    // @ApiModelProperty(value = "每100g含的脂肪量")
    private String tempFoodFat;

    // @ApiModelProperty(value = "食物描述")
    private String tempFoodDesc;

    // @ApiModelProperty(value = "是否启用（0,启用；1,不启用）")
    private Integer tempFoodState;

    @TableField(exist = false)
    public FoodInner foodInner;

}
